home *** CD-ROM | disk | FTP | other *** search
/ Toolkit for Duke Nukem 3D / Walnut Creek CDROM - Toolkit for Duke Nukem 3D.iso / tutorial / buildts.txt < prev    next >
Text File  |  1996-07-22  |  13KB  |  262 lines

  1. BUILD Troubleshoot
  2.  
  3. By Michael Mittag; MITTAG@Ubaclu.unibas.ch
  4.  
  5. Comments are welcome. Also, is there some other builder nearby? (Basel,
  6. Switzerland).
  7.  
  8. This text is not meant as an introduction to BUILD, but to help you if (when)
  9. you encounter problems. Its use is free in any way that does not involve
  10. making considerable amounts of money and not giving me at least 50%.
  11.  
  12. Of course I don't take any responsibility for anything you mess up using this
  13. text. I mean, first thing I say is to save every second second, so you should
  14. be reasonably safe anyway.
  15.  
  16. There are four parts:
  17.  
  18.   DO's and DONT's
  19.   WHO is WHO
  20.   HELP with...
  21.   UNRESOLVED QUESTIONS
  22.  
  23. DO's and DONT's (How To Behave)
  24.  
  25. Save often, save soon, use different names. Quite some of the things you'll
  26. do will be impossible to undo later on, and there's always the occasional
  27. crash.
  28.  
  29. Delete often, delete soon (save first). Once things start to behave funny,
  30. delete. Usually there's no way to fix, and the longer you wait, the more work
  31. will be lost later on.
  32.  
  33. Don't delete valid player space by pushing all edges into one. Well, I'm
  34. really just guessing because I got a lot of "Division by zero" errors until I
  35. stopped this. Instead, delete the sector first, *then* move all the points
  36. (along the now white line) into one. Also check the statistics below to see
  37. whether build and you have the same idea of how many walls or sectors you just
  38. deleted.
  39.  
  40. Keep your walls tidy. If you add some already divided NPS (white wall in 2D
  41. with some points along it) to player space (red wall), you have to stop (hit
  42. space) on every point along it. If not, your wall will be double, causing you
  43. all sorts of problems later on. You detect this by:
  44.  
  45.   - "You must insert a point" message though there clearly is one
  46.   - If you move the point, part of the wall follows and part stays
  47.   - Weird behaviour with doors, esp. swing doors
  48.   - New walls between one critical point and anywhere else
  49.  
  50. If you encounter this, fiddle for a minute to see whether you can fix it or
  51. whether it just gets worse. If second (which is the usual case), delete the
  52. wall. Deleting a wall means: delete the less valuable of the two sectors along
  53. it, so it'll be white again, and easier to handle.
  54.  
  55.  
  56. Some other helpful things (less fatal, though):
  57.  
  58. Keep your doors ajar (so you can see all walls, ceilings and floors) until
  59. you have them textured, shaded and operational. Opening them again later on is
  60. a bit tricky. For swing doors, use big ugly blocks that stand diagonally in
  61. the way, again so you see the walls. Anyway, insert the doors rather late, so
  62. you can freely walk around while playtesting without having to stop at the
  63. first door that refuses to work.
  64.  
  65. Use cheat codes to playtest. I mean DNCLIP, DNKROZ and DNSTUFF. Undo (retype)
  66. DNCLIP after you crossed that wall, since it's bad for your health.
  67.  
  68. Start texturing and shading early. Once you start dividing everything up, you
  69. also double the work involved in changing a thing.
  70.  
  71. If you place a sprite flat on the floor or wall, it'll be single-sided. If
  72. you move it somewhere else later on, it'll be invisible from the other side.
  73. To get a flat sprite, either use the R-key (3D) or place it with one corner in
  74. the air.
  75.  
  76. Keep track on which sprites are blocked and which you can walk through. That
  77. is: All internal stuff like SEs, touchplates and invisible seenines
  78. (X-shrienked) should appear blue in 2D, everything players can walk into is
  79. purple.
  80.  
  81. Try translucent black (palette 4) flat sprites (got that?) for nice shadow
  82. effects. I mean, the shadow of a grille on the wall of the vent shaft and so
  83. on. Well, maybe better of something you can't shoot. Like one of the
  84. nonshootable Grates. Well I guess you got the idea.
  85.  
  86. Use water (ST0) on watery sectors anyway (even when you don't teleport), so
  87. the fx are correct. Duke sinks in, bullets go splash and you can (sometimes)
  88. place invisible underwater tripbombs. What a nasty bunch we are! (If you want
  89. to light up my day, mail me about your experiences with this one. Actually it
  90. does not work all the time, maybe current or slope plays a role).
  91.  
  92. WHO IS WHO (SE, ST, Special Sprites, Maskwalls, Texture, First Wall)
  93.  
  94. SEs and STs are quite the same thing (they serve the same purpose). They tell
  95. Duke what a sector is or does (e.g. whether it's a door).
  96.  
  97. SPECIAL SPRITES do the timing and events.
  98.  
  99. Sprites, Maskwalls and Textures can be used for special effects, once you
  100. know which does which in connection with what (if you mix this, nothing much
  101. will happen):
  102.  
  103. DOORS are walls. Floor doors are walls that are elevated from the floor, etc.
  104.  
  105. MONITORS are texture (upon bare wall). They seem to brake when the wall comes
  106. from the ceiling, but not otherwise. Vendmachines break anyway.
  107.  
  108. GLASS is a maskwall. Press M in 3D on the floor before the glass and use the
  109. glass texture (no other will break). Use B to block and H (Ctrl-H in 2D) for
  110. hitscan, T for translucence (looks nicer). Make sure the glass is translucent
  111. from both sides. Yes I know how I sound.
  112.  
  113. GRILLES and VENTS (the blades) are sprites.
  114.  
  115. FAKE WALLS (the ones you can walk through) are of course maskwalls.
  116.  
  117. FIRST WALLS are more important than you'd think. They serve two purposes:
  118.  
  119.   - Ceiling and floor texture are aligned to them
  120.   - Slopes start from the firstwall downward or upward
  121.  
  122. This (the second one) has the following effects:
  123.  
  124.   - Of course which of the two directions your slope runs (North-South or
  125.     East-West, so to speak)
  126.   - On long slopes, the first wall side can be positioned accurately
  127.     (pgup/pgdown), the opposite wall basically ends up where the slope carries it.
  128.   - See C-9 for some more conequences.
  129.  
  130. Let's assume you have a shadow that crosses your slope. You'd of course
  131. divide the sector, probably not in exact 90 degrees. If your firstwall is on
  132. the dividing line, this will tilt your slope and make your texture run
  133. somewhere you wouldn't like it. Let's face it: if you divide a slope, Build
  134. will auto-messup it, so I best continue by telling you how to fix it: On
  135. virgin slopes, hold left button on the floor/ceiling and toggle through all
  136. (usually four) possibilities using Alt-F. If you've already done so before on
  137. that sector, this might not work. In this case, the professional moves around
  138. and presses buttons and keys. It might help to keep your fingers off
  139. Leftbutton for some time and try again later.
  140.  
  141. Hints:
  142.  
  143.   - If you change the firstwall, slope the sector anyway so you see the
  144.     change.
  145.   - If you change the slope, the firstwall is where the height stays the same.
  146.  
  147.  
  148.  
  149. HELP with...
  150.  
  151. DOORS: Check above (so you didn't by accident use maskwalls or sprites for
  152. doors). Also, Build sometimes seems to dump sector tags, so if nothing at all
  153. happens in the game, check whether there's still a sector tag beneath all the
  154. SEs. See also Texture Behaviour for the aesthetics.
  155.  
  156. SWING DOORS: They're not as hard as it seems, just:
  157.  
  158. - The door must be inside one sector for its entire swing, or mess.
  159. - The door must be connected to floor and ceiling for its (etc. like above)
  160. - The door SE must have an individual hitag. If not, all your doors will open
  161.   and close at the same time. Spooky. Well, at least embarassing.
  162.  
  163. EXPLODING THINGS: All very nice and easy really, except that it's a lot of
  164. work. On barrels, individual hitag seems to mean that they only explode on
  165. direct hit, while zero hitag means they join the party.
  166.  
  167. C9: If you have some holes in a C9-ed wall, probably a problem with the
  168. firstwall (see there). At pre-map, the *first walls* of the floor and ceiling
  169. are joined. See that they're the ones furthest (farest? most far?) away from
  170. each other in Build.
  171.  
  172. TEXTURE BEHAVIOUR: If your texture inapropriately moves or does not move with your elevator or door (follow me?), use "O" (the letter) in 3D to change the orientation. You can use Pageup/Pagedown on the thing in question to check (the texture will behave the same in the game).
  173.  
  174. If you can't change texture size, check whether top and bottom walls have the same texture. I know that in theory this can not be otherwise, but if it is, copy top texture to bottom and you can size again as you desire.
  175.  
  176. SIZE: It's a great game, and it comes XXL. Everything. To get size right:
  177.  
  178.   - set a Trooper on the scenery (don't be afraid, he's harmless - yet)
  179.   - while holding keypad 5, twice tap (keypad) 8, then twice (keypad) 4.
  180.  
  181. This will give you quite an accurate idea of how big man-size is.
  182.  
  183. In the game, press f7 for an out-of-body experience and another view of
  184. things. *It's a shame to produce a really decent level and put some
  185. bigger-than-duke chairs in the middle of it*.
  186.  
  187. SHADE: Duke isn't too bright either, nor is build (as it comes). Well, what I
  188. mean is that you might try pressing f11 some seven times or so to get the
  189. brightness level equal to the game. If you look at some original levels,
  190. they're almost pitch black in the uncorrected Build.
  191.  
  192. TIMING: Seems like 50 or 60 equals one second in all relevant tags. I'm
  193. talking of, e.g., seenine. Or door auto-close. Or masterswitch.
  194.  
  195. TWO-WAY SUBS: Now that's one for the advanced. It's like kicking your own
  196. balls (I mean difficult and painful). I've got two of them (I mean subways, as
  197. you'd have found out instantly) in my first map and they cause half the
  198. problems around. If your problem is:
  199.  
  200. - They don't move: check whether everything is where it should be according
  201.   to plan (type "BUILD E2L8" to load the duke level with the subs). Then reset
  202.   some sprites. That is: delete them and set them again. Try the masterswitch if
  203.   you use one. Then try the SE. Forget to set the direction and it'll drive off
  204.   wrong way, through some nearby wall. Happens to everyone.
  205.  
  206. Yes, I really got a case where resetting the masterswitch last thing I do
  207. before save decides upon whether the thing runs or not. (This takes a lot of
  208. time to find out, since logically testing all reasonable hypothesis results in
  209. completely random results, so I'm rather proud on this one).
  210.  
  211. - They leave a trail of disaster: Sorry, don't have any good answer. It seems
  212.   to be critical that they are based on one sector running around all else.
  213.   Sorry, just drawing one around the existing car will only result in more
  214.   disaster (try and see for yourself). Copying might be better. Or simply dump
  215.   it all and use sprites.
  216.  
  217. BAD SPRITE CLIPPING: Use more and smaller sprites. The engine can handle
  218. quite a lot of them without slowing down.
  219.  
  220. BAD SECTOR CLIPPING: Try dividing concave into convex sectors. Maybe the
  221. other way around, I always confuse the two. What I mean in words I understand:
  222. If you have a hammer-shaped sector and get problems, divide it into two
  223. rectangles. So you don't have any edges going inward, bluntly put.
  224.  
  225. TROOPER CAPTAINS: Use your standard ho-hum everyday trooper and paint it red
  226. (palette 21 (Alt-P in 3D for Palette)). Figure out your own line about
  227. military ranks here.
  228.  
  229. THINGS WON'T BREAK: Well, kick harder. Or better still, check above so you
  230. used the correct thing (I mean sprites for grilles and so on). Also, monitors
  231. seem to prefer breaking when they originate from the top part of the sector.
  232.  
  233. ROTATING SECTOR ROTATES STRANGELY: Use the direction of the SE sprite to
  234. choose whether to rotate the sector or all of its points. Well, just change
  235. them all and there you go. If you use several sectors and miss one, it looks
  236. strange. Not strange in an interesting way, really just messed up, especially
  237. on the map.
  238.  
  239. UNRESOLVED MYSTERIES:
  240.  
  241. - Any safe way to get two-way subs with everything working?
  242. - I still got my problems with drop floor/drop ceiling. I got a nice drop
  243.   floor just putting a touchplate above sector floor (the floor was at
  244.   touchplate height and lowered as I stepped on it), but I didn't follow this
  245.   up yet.
  246. - I'm working on water. (I said working, not walking)
  247. - Also, is there a list of all the available sounds? Duke once bugged on
  248.   E3L1 (right at the beginning, after I shot the Lizman jumping up if you want
  249.   to try yourself) and I got them all played to me which sounded quite nice;
  250.   you don't realize in the game how many "Ugh","Agh" and "Umphs" there really
  251.   are. (Sounds like he gets beaten up really, if this was not such an
  252.   impossible thing to think).
  253. - How do you include firstlevelbosses that are killable without the game
  254.   jumping to the endsequence? (It's possible even on episode one, as the
  255.   "Faces of Death" level shows, and they didn't fiddle with sprite tags).
  256. - There seem to be quite a bit of undocumented tags around. I mean, some of
  257.    the Duke-Actors have sprite tags, which is a thing itself never mentioned in
  258.    the docs.
  259. - What about the Goudraw-Height-map?
  260. - How do you get correct texture alignment on C9-ed walls?
  261.  
  262.